package com.hznu.ucenter.service;

import com.hznu.ucenter.entity.Center;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hznu.ucenter.entity.Decrypt;
import com.hznu.ucenter.entity.Vehicle;
import com.hznu.ucenter.entity.vo.SendMsgVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdd
 * @since 2021-03-19
 */
public interface CenterService extends IService<Center> {

    void insertCenter(Center center);

    void removeCenter(Long centerId);

    void updateCenter(Center center);

    void encodeAndSend(SendMsgVo sendMsgVo);

    void getPriKey(Vehicle vehicle);

    List<String> decode(Decrypt decrypt);
}
